package com.qx.pethome.entity;

import java.util.Date;
import java.sql.Timestamp;

/**
 * 管理员类
 * */

public class Administrator{

    public static final boolean ADM_SEX_MAN =false;//false,0男
    public static final boolean ADM_SEX_WOMEN=true;//true,1女
    public static final Integer ADM_STATUS_NOT = 0;//0为未审批
    public static final Integer ADM_STATUS_YES = 1;//1为已同意
    public static final Integer ADM_STATUS_NO = 2;//2为不同意

    private Integer admId;//管理员编号
    private String admName;//管理员姓名
    private Boolean admSex;//管理员性别，0男，1女
    private Integer admAge;//管理员年龄
    private String admPhone;//管理员电话
    private String admEmail;//管理员电子邮箱
    private Integer admStatus;//申请状态（三种）0为未审批，1为已同意，2为不同意
    private Date admTime;//完成时间
    private String admPassword;//管理员密码

    public Administrator() {

    }



    public Administrator(String admName, Boolean admSex, Integer admAge, String admPhone,
                         String admEmail, Integer admStatus, Date admTime, String admPassword) {
        this.admName = admName;
        this.admSex = admSex;
        this.admAge = admAge;
        this.admPhone = admPhone;
        this.admEmail = admEmail;
        this.admStatus = admStatus;
        this.admTime = admTime;
        this.admPassword = admPassword;
    }

    public Administrator(Integer admId, String admName, Boolean admSex, Integer admAge, String admPhone, String admEmail, Integer admStatus, Date admTime, String admPassword) {
        this.admId = admId;
        this.admName = admName;
        this.admSex = admSex;
        this.admAge = admAge;
        this.admPhone = admPhone;
        this.admEmail = admEmail;
        this.admStatus = admStatus;
        this.admTime = admTime;
        this.admPassword = admPassword;
    }

    public Integer getAdmId() {
        return admId;
    }

    public void setAdmId(Integer admId) {
        this.admId = admId;
    }

    public String getAdmName() {
        return admName;
    }

    public void setAdmName(String admName) {
        this.admName = admName;
    }

    public Boolean getAdmSex() {
        return admSex;
    }

    public void setAdmSex(Boolean admSex) {
        this.admSex = admSex;
    }

    public Integer getAdmAge() {
        return admAge;
    }

    public void setAdmAge(Integer admAge) {
        this.admAge = admAge;
    }

    public String getAdmPhone() {
        return admPhone;
    }

    public void setAdmPhone(String admPhone) {
        this.admPhone = admPhone;
    }

    public String getAdmEmail() {
        return admEmail;
    }

    public void setAdmEmail(String admEmail) {
        this.admEmail = admEmail;
    }

    public Integer getAdmStatus() {
        return admStatus;
    }

    public void setAdmStatus(Integer admStatus) {
        this.admStatus = admStatus;
    }

    public Date getAdmTime() {
        return admTime;
    }

    public void setAdmTime(Date admTime) {
        this.admTime = admTime;
    }

    public String getAdmPassword() {
        return admPassword;
    }

    public void setAdmPassword(String admPassword) {
        this.admPassword = admPassword;
    }

    @Override
    public String toString() {
        return "管理员{" +
                "管理员编号=" + admId +
                ", 管理员姓名='" + admName + '\'' +
                ", 管理员性别=" + admSex +
                ", 管理员年龄=" + admAge +
                ", 管理员电话='" + admPhone + '\'' +
                ", 管理员电子邮箱='" + admEmail + '\'' +
                ", 申请状态='" + admStatus + '\'' +
                ", 完成时间='" + admTime + '\'' +
                ", 管理员密码='" + admPassword + '\'' +
                '}';
    }
}
